import {Routes, RouterModule} from '@angular/router';
import {ModuleWithProviders} from '@angular/core';
import {AuthorizationComponent} from './authorization/authorization.component';
import {ReleaseComponent} from './release/release.component';
import {SettingComponent} from './setting/setting.component';

export const routes: Routes = [
  {
    path: 'authorization',
    component: AuthorizationComponent,
    children: []
  },
  {
    path: 'release',
    component: ReleaseComponent,
    children: []
  },
  {
    path: 'setting',
    component: SettingComponent,
    children: []
  }
];

export const routing: ModuleWithProviders = RouterModule.forChild(routes);
